<?php

namespace App\Modules\Apicrzs\Entities;

use App\Models\Model;
use App\Modules\Admin\Entities\Member\BankModel;

class UserBanksModel extends Model
{
    protected $table='user_banks';
    protected $primaryKey='id';
    protected $is_delete=0;
    public function bank_info()
    {
        return $this->hasOne(BankModel::class,'id','bank_id')->select(['id','name','icon']);
    }
}
